﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SignStatistic.aspx.cs"
    MasterPageFile="~/RightFrame.Master" Inherits="MyOA.UI.ManualSign.SignStatistic" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphTitle" runat="server">
    当前位置：考勤统计
    <script type="text/javascript">
        var Alert=ymPrompt.alert;
        var Error=ymPrompt.errorInfo;
        </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContnent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>

            <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"
                charset="gb2312"></script>

            <table cellspacing="0" cellpadding="0" width="95%" datapagesize="56">
                <tr>
                    <td colspan="2">
                        <table>
                            <tr>
                                <td style="width: 91px; height: 39px" align="center">
                                    输入时间段：
                                </td>
                                <td style="height: 39px">
                                    &nbsp;&nbsp;开始时间:
                                    <asp:TextBox ID="txtBeginTime" runat="server" onFocus="new WdatePicker(this,'%Y-%M-%D',true,'whyGreen')"
                                        CssClass="Wdate" Width="141px"></asp:TextBox>&nbsp;* -----&nbsp; 结束时间:
                                    <asp:TextBox ID="txtEndTime" runat="server" onFocus="new WdatePicker(this,'%Y-%M-%D',true,'whyGreen')"
                                        CssClass="Wdate" Width="149px"></asp:TextBox>&nbsp;*&nbsp;&nbsp;
                                    <asp:CompareValidator ID="cvTime" runat="server" Display="Dynamic" ControlToValidate="txtEndTime"
                                        Operator="GreaterThanEqual" ErrorMessage="结束时间不应小于开始时间" ControlToCompare="txtBeginTime"></asp:CompareValidator>&nbsp;&nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center" valign="middle" style="height: 1px">
                                    <hr width="95%" size="1" color="gray">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机构:
                                    <asp:DropDownList ID="ddlBranchs" runat="server" Width="160px" CssClass="ddlCss"
                                        AutoPostBack="True" OnSelectedIndexChanged="ddlBranchs_SelectedIndexChanged">
                                    </asp:DropDownList>
                                    &nbsp; 部门:
                                    <asp:DropDownList ID="ddlDeparts" runat="server" Width="184px" CssClass="ddlCss"
                                        DataTextField="DepartName" DataValueField="DepartId">
                                        <asp:ListItem>==请选择==</asp:ListItem>
                                    </asp:DropDownList>
                                    &nbsp; &nbsp;<asp:Button ID="btnStatistic" runat="server" Height="23px" Width="110px"
                                        CssClass="buttonCss" Text="统　计" OnClientClick="Alert('暂无内容',null,null,'温馨提示');return false;"></asp:Button>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:window.print();"><font color="red"
                                        size="3px">【打 印】</font></a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" width="100%">
                                    <table width="100%" id="print" runat="server">
                                        <tr>
                                            <td valign="top" colspan="2" width="90%" align="center" style="height: 100%">
                                                &nbsp;
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center" colspan="2">
                                                <div id="divReportUser" runat="server" visible="false">
                                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
